<header xmlns:th="http://www.w3.org/1999/xhtml" id="header" class="main-header" th:fragment="header">
    <div style="display: none;" id="base"
         th:text="${#httpServletRequest.scheme+'://'+#httpServletRequest.serverName+':'+#httpServletRequest.serverPort}"></div>
    <!-- Logo -->
    <a href="#" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>交通运输管理系统</b></span> <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">交通运输管理系统</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
        </a>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- Messages: style can be found in dropdown.less-->
                <!-- <li class="dropdown notifications-menu">
                    <a href="#" id="china">简体中文</a>
                </li>
                <li class="dropdown notifications-menu">
                    <a href="#" id="english">English</a>
                </li>-->

                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img th:src="@{/images/user_default.png}" class="user-image" alt="User Image"/>
                        <span class="hidden-xs"  th:text="${userName !=null ? userName:'System'}">System </span>
                    </a>
                </li>
                <li class="dropdown notifications-menu">
                    <a href="/InfoManageWeb/loginController/login" >退出</a>
                </li>
                <!-- Control Sidebar Toggle Button -->
                <!-- <li><a href="#" data-toggle="control-sidebar">
                    <i class="fa fa-gears"></i></a>
                </li> -->
            </ul>
        </div>
    </nav>
</header>
